package com.innovatio.validator.annotations;

import com.innovatio.validator.handlers.ValidatePatternHandler;
import com.innovatio.utils.general.CommonsUtils;

import java.lang.annotation.Target;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;

/**
 * This code is property of Innovatio Software Solutions, Inc.
 * User: Edxe
 * Date: Jun 25, 2009
 * Time: 1:26:45 AM
 */
@Target(java.lang.annotation.ElementType.FIELD)
@Retention(RetentionPolicy.RUNTIME)
@Validation(ValidatePatternHandler.class)
public @interface ValidatePattern {
    String patter();
    String i18nBundleKey() default "validation_pattern";
}
